// import { login, getProfile, getUserInfoById } from '@/api/user'
// import { getToken, setToken, removeToken, setTimeStamp } from '@/utils/auth'

export default {
  namespaced: true, // 开启命名空间
  state: {
    token: ''
  },
  // 唯一修改数据的地方
  mutations: {
    setToken(state, token) {
      state.token = token
    },
    delToken(state) {
      state.token = ''
    }
  },
  actions: {}
}

